﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
//using System.Web.Services;

public partial class MasterPrincipal : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["Usuario"] != null)
            nav.Attributes.Add("style", "visibility: visible");
        else
            nav.Attributes.Add("style", "visibility: hidden");
    }
    //[WebMethod(EnableSession = true)]
    //public static String acessarPerfil(string guid)
    //{
        
    //    Evento evento = Evento.findEventoById(new Guid(guid));
    //    System.Web.HttpContext.Current.Session["Evento"] = evento.id;
    //    return evento.id.ToString();
    //}
}
